package com.yetong.infrastructure.persistent.dao;

import com.yetong.infrastructure.persistent.po.Award;
import com.yetong.infrastructure.persistent.po.Strategy;
import com.yetong.infrastructure.persistent.po.StrategyAward;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 作者：叶童
 * 时间：2025/4/30
 * 策略奖品 DAO
 */
@Mapper
public interface IStrategyAwardDao {
    List<StrategyAward> queryStrategyAwardList();

    List<StrategyAward> queryStrategyAwardListByStrategyId(Long strategyId);


    String queryStrategyAwardRuleModels(StrategyAward strategyAward);

    void updateStrategyAwardStock(StrategyAward strategyAward);

    StrategyAward queryStrategyAward(StrategyAward strategyAwardReq);
}
